package com.alibaba.citrus.cr.common.enums.ordercenter;

import com.google.gson.annotations.SerializedName;
import lombok.Getter;

@Getter
public enum DictionaryTypeEnum {

    FROM_SYS("系统来源", "fromSys"),
    BUSINESS_TYPE("业态", "businessType"),
    BUSINESS_UNIT_CODE("业务单元编码", "businessUnitCode"),
    COMPANY_SALE_FULFILLMENT_TYPE("分公司销售订单履约方式", "companySaleFulfillmentType"),
    GROUP_SALE_FULFILLMENT_TYPE("集团销售订单履约方式", "groupSaleFulfillmentType"),
    GROUP_RETURN_FULFILLMENT_TYPE("集团退货订单履约方式", "groupReturnFulfillmentType"),
    ;

    @SerializedName(value = "desc")
    private final String desc;
    @SerializedName(value = "code")
    private final String code;

    DictionaryTypeEnum(String desc, String code) {
        this.desc = desc;
        this.code = code;
    }

}
